package com.ruoyi.domain.tools;

public class JiFenJiSuan {
    private long jiFen;

    public long getJiFen() {
        return jiFen;
    }

    public void setJiFen(long jiFen) {
        this.jiFen = jiFen;
    }

    public JiFenJiSuan(long kg,long delivertype) {
        if (delivertype == 1){
            this.jiFen = (kg / 100) + 5;
        }else {
            this.jiFen = (kg / 100) + 2;
        }

    }

}
